package com.itany.mapper;

import com.itany.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Auther:ws@itany.com
 * Date:20-10-12 下午6:53
 * Version:1.0
 * Description:
 */

public interface UserMapper {
    /**
     * 查询用户
     * @param username
     * @param flag
     * @return
     */
    public List<User> selectUserAll(@Param("username") String username, @Param("flag") String flag);


    /**
     * 查询指定用户
     * @param id
     * @return
     */
    public User selectById(Integer id);


    /**
     * 修改用户信息
     * @param user
     */
    public void updateUser(User user);
}
